Skip to content

Invalidate sliding-window checkpoints when their cells are overwritten - #160

Merged
joelteply merged 2 commits into
codex/resident-checkpoint-lineagefrom
codex/swa-checkpoint-overwrite
Nov 20, 2026
Merged

joelteply merged 2 commits into
codex/resident-checkpoint-lineagefrom
codex/swa-checkpoint-overwrite

Conversation

@joelteply

Copy link
Copy Markdown

A sliding-window write can overwrite a live cell while a checkpoint still names its prior contents. Invalidate that checkpoint when the write commits. Speculative slot planning leaves the previous receipt available.

The native regression reproduces the false acceptance in a four-cell cache, checks planning and committed overwrite separately, and obtains a fresh checkpoint. The CPU hybrid-model suite passed. The M5 ran the same native source with real residents for 900 seconds before check-in.

@joelteply
joelteply merged commit b40fec2 into codex/resident-checkpoint-lineage Nov 20, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant